package com.cs.noTender.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsDevice
 * @Date：2024/11/20 17:45
 * @Filename：CsDevice
 */
public class CsDevice extends BaseEntity {
    private static final long serialVersionUID = -5239930768418500272L;
    @Excel(name = "产品编码")
    private String tid;
    @Excel(name = "产品名称")
    private String tName;
    @Excel(name = "类别ID")
    private Integer cid;
    @Excel(name = "计量单位")
    private String tUnit;
    @Excel(name = "税率")
    private BigDecimal taxRate;
    @Excel(name = "需求说明")
    private String tIllustrate;
    @Excel(name = "预算科目编号")
    private String duCode;
    @Excel(name = "备注")
    private String tNotes;
    @Excel(name = "规格型号")
    private String tModel;
    @Excel(name = "单价")
    private BigDecimal tPrice;

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String gettUnit() {
        return tUnit;
    }

    public void settUnit(String tUnit) {
        this.tUnit = tUnit;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public String gettIllustrate() {
        return tIllustrate;
    }

    public void settIllustrate(String tIllustrate) {
        this.tIllustrate = tIllustrate;
    }

    public String getDuCode() {
        return duCode;
    }

    public void setDuCode(String duCode) {
        this.duCode = duCode;
    }

    public String gettNotes() {
        return tNotes;
    }

    public void settNotes(String tNotes) {
        this.tNotes = tNotes;
    }

    public String gettModel() {
        return tModel;
    }

    public void settModel(String tModel) {
        this.tModel = tModel;
    }

    public BigDecimal gettPrice() {
        return tPrice;
    }

    public void settPrice(BigDecimal tPrice) {
        this.tPrice = tPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("tid", tid)
                .append("tName", tName)
                .append("cid", cid)
                .append("tUnit", tUnit)
                .append("taxRate", taxRate)
                .append("tIllustrate", tIllustrate)
                .append("duCode", duCode)
                .append("tNotes", tNotes)
                .append("tModel", tModel)
                .append("tPrice", tPrice)
                .toString();
    }
}
